package com.hh.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.common.model.pagemanagement.JingangArea;
import com.hh.common.response.JingangAreaResponse;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface JingangAreaDao extends BaseMapper<JingangArea> {
    @Select("select type,name,sort,img_url,link_param from eb_jingang_area where mer_id = #{merId} and is_show = 1 order by sort asc")
    List<JingangAreaResponse> getFrontJingangAreaList(@Param("merId") String merId);
}
